<template>
	<div class="all">
		<!-- <iframe id="iframe" src=""></iframe> -->
		<div id="iframe" v-html="htmlStr"></div>
	</div>
</template>

<script>
// import X6TestData from "../../public/X6TestData.html";
export default {
	name: 'winOpen',
	data() {
		return {
			graph: '',
			title: '',
			htmlStr:""
		};
	},
	created() {},
	mounted() {
		console.log("this.$route.query",this.$route.query)
		console.log("this.$route",this.$route)
		let path = this.$route.path
		if("/openHierarchy"==path){
			// console.log("X6TestData",X6TestData)
			// this.htmlStr = X6TestData
			// console.log('document.getElementById("iframe").src',document.getElementById("iframe").src)
		}
	},
	methods: {}
};
</script>

<style>
	.all{
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
	}
	#iframe{
		width: 100%;
		height: 100%;
	}
</style>
